xen: arm: implement cpuinfo
authorIan Campbell <ian.campbell@citrix.com>
Fri, 22 Feb 2013 08:58:25 +0000 (08:58 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 22 Feb 2013 12:14:56 +0000 (12:14 +0000)
commit7269eeae75d91fb49187770c0c1d187ecd219bdd
tree65bf271474bdf4e8d0d6cd3574cedaaf0474c4b4
parent75c3b4097c01cb2771feaafe0e8dfa2bda6d02c5
xen: arm: implement cpuinfo

Use to:

 - Only context switch ThumbEE state if the processor implements it. In
   particular the ARMv8 FastModels do not.
 - Detect the generic timer, and therefore call identify_cpu before
   init_xen_time.

Also improve the boot time messages a bit.

I haven't added decoding for all of the CPUID words, it seems like overkill
for the moment.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Tim Deegan <tim@xen.org>
Cc: stefano.stabellini@citrix.com
xen/arch/arm/Makefile
xen/arch/arm/cpu.c [new file with mode: 0644]
xen/arch/arm/domain.c
xen/arch/arm/setup.c
xen/arch/arm/smpboot.c
xen/arch/arm/time.c
xen/include/asm-arm/cpregs.h
xen/include/asm-arm/cpufeature.h [new file with mode: 0644]
xen/include/asm-arm/domain.h
xen/include/asm-arm/processor.h